package com.yanqu.road.entity.wingroom;

import com.yanqu.road.entity.DataObject;

/**
 * @author ：zfr
 * @date ：2022/1/21 11:08
 */
public class UserFurnitureSample extends DataObject {
    private long userId;
    private int furnitureId;    //家具id
    private int lv;             //等级
    public UserFurnitureSample() {
    }

    public UserFurnitureSample(long userId, int furnitureId, int lv, short option) {
        this.userId = userId;
        this.furnitureId = furnitureId;
        this.lv = lv;
        this.setOp(option);
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getFurnitureId() {
        return furnitureId;
    }

    public void setFurnitureId(int furnitureId) {
        if (this.furnitureId != furnitureId) {
            this.furnitureId = furnitureId;
            setUpdateOption();
        }
    }

    public int getLv() {
        return lv;
    }

    public void setLv(int lv) {
        if (this.lv != lv) {
            this.lv = lv;
            setUpdateOption();
        }
    }
}
